Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Class Player

Defined in Player.ts

Constructor

constructor(game: Gameclass GameStructures/Game, playerPointer: number)

    Properties

    game: Gameclass GameStructures/Game
    private _isDead: number

    Methods

    set isDead(val: number | undefined)
      setColor(color: PLAYER_COLORSenum PLAYER_COLORSutil/PLAYER_COLORS): void

        You can easily get banned for hacking using this method on players other than yourself.

        fetchData(playerPointer: number): boolean
          patch(): void

            Updates player data. Use this method only if you have the AmongUsProcessSettings.playerEvents option disabled.